/**
  @file     	MySelfDef.h 
  @brief    	Personal type definition
  @author  	arvin
  @version 	1.0   2012/12/12
 */

#ifndef MYSELFDEF_H
#define MYSELFDEF_H

typedef void	VOID;
typedef short	SHORT;
typedef int		INT;
typedef long	LONG;


typedef char			BYTE;
typedef unsigned short	WORD;
typedef unsigned int	DWORD;

#ifdef WIN32
//#define DEBUG_PRINTF(fmt, ...) printf("[%s Ln:%d %s()] "fmt"\r\n", __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__)
#define DEBUG_PRINTF(fmt, ...) printf("[%s()] "fmt"\r\n", __FUNCTION__, ##__VA_ARGS__)
#else
#define DEBUG_PRINTF(fmt, args...) printf("[%s:%s:%d] "fmt"\r\n", __FILE__,__FUNCTION__,__LINE__, ##args)
#endif

#endif	/* >>MYSELFDEF_H<< */
/* EOF */